<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>固定定位</title>
	<style type="text/css">
		body{
			width: 100%;
			height: 6000px;
		}
		.father{
			width: 800px;
			height: 800px;
			background: #272822 url() 0 0 no-repeat;
		}
		.box{
			width: 200px;
			height: 200px;
			background: red url() 0 0 no-repeat;
			margin: 20px;
			color: #fff;
			font-size: 40px;
		}
		.box1{
			background: blue url() 0 0 no-repeat;
			position: fixed;
			bottom: 0px;
			right: 0px;
		}
	</style>
</head>
<body>
	<div class="father">
		<div class="box box1">
		21

		</div>
		<div class="box">
			22
			
		</div>
	</div>
</body>
</html>